Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    f(0)  → true
2:    f(1)  → false
3:    f(s(x))  → f(x)
4:    if(true,x,y)  → x
5:    if(false,x,y)  → y
6:    g(s(x),s(y))  → if(f(x),s(x),s(y))
7:    g(x,c(y))  → g(x,g(s(c(y)),y))
There are 5 dependency pairs:
8:    F(s(x))  → F(x)
9:    G(s(x),s(y))  → IF(f(x),s(x),s(y))
10:    G(s(x),s(y))  → F(x)
11:    G(x,c(y))  → G(x,g(s(c(y)),y))
12:    G(x,c(y))  → G(s(c(y)),y)
The approximated dependency graph contains 2 SCCs: {8} and {11,12}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.05 seconds)   ---  May 3, 2006